﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;

namespace GanFeng.Forest.WebApi.Objects
{
    /// <summary>
    /// 设置工步运行参数
    /// </summary>
    public class SetStepRunArgs
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonPropertyName("device_code")]
        public string DeviceCode { get; set; } = string.Empty;
        /// <summary>
        /// 是否运行。true 表示工步运行，false 表示工步不运行
        /// </summary>
        [JsonPropertyName("run")]
        public bool Run { get; set; }
        /// <summary>
        /// 工步号
        /// </summary>
        [JsonPropertyName("step")]
        public int Step { get; set; }
    }
}
